using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Academia.Escritorio
{
	public partial class frmPrincipal : Form
	{
		public frmPrincipal()
		{
			InitializeComponent();
		}

        private void frmPrincipal_Shown (object sender, EventArgs e)
        {
            frmLogin appLogin = new frmLogin();
            if (appLogin.ShowDialog() != DialogResult.OK)
            {
                this.Dispose();
            }
        }

        private void mnuABMAlumnos_Click(object sender, EventArgs e)
        {
            frmAlumno ABM = new frmAlumno();
            ABM.ShowDialog();
        }
	}
}